package cn.shangjia.shop.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 页面公用元素控制器
 * @author <a href="mailto:liangchuan@knet.cn">liangchuan</a>
 * @author <a href="mailto:wangxin@knet.cn">wangxin</a>
 * @author <a href="mailto:jinzhongze@knet.cn">jinzhongze</a>
 */
@Controller
public class CommonController {
	
	@RequestMapping("/404.html")
	public String is404() {
		return "error/404";
	}
	
	@RequestMapping("/500.html")
	public String is500() {
		return "error/500";
	}
	//==========================================================================================================
	
}
